colorbutton: Correct the css docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2020 14:03:07 +0000 (09:03 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2020 14:03:07 +0000 (09:03 -0500)
Mention the wrapper colorbutton node.

gtk/gtkcolorbutton.c

index f4f8cc40fb8cea82f2ec5df9d5ef276a4aa2d2e4..622cce0b60f472ba14db8c14fb78c3e01fe36db7 100644 (file)
  *
  * # CSS nodes
  *
- * GtkColorButton has a single CSS node with name button. To differentiate
- * it from a plain #GtkButton, it gets the .color style class.
+ * |[<!-- language="plain" -->
+ * colorbutton
+ * ╰── button.color
+ *     ╰── [content]
+ *]|
+ *
+ * GtkColorButton has a single CSS node with name colorbutton which
+ * contains a button node. To differentiate it from a plain #GtkButton,
+ * it gets the .color style class.
  */
 
 typedef struct _GtkColorButtonClass     GtkColorButtonClass;